<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
      .text{
        color:red;
        font-size: 20px; 
      }
      #desc{
        color:blue;
        font-size: 30px;
      }

    </style>
</head>
<body>
    <p>全局选择器*</p>
    <p>元素选择器</p>
    <p>类选择器</p>
    <p>id选择器</p>

    <p style="color:green;font-size:20px" class="text" id="desc">我是标签内容，用于测试选择器优先级</p>

</body>